package br.com.managerprojectplugin.perspective;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import br.com.managerprojectplugin.view.UseCaseView;

/**
 * Class: ManagerProjectsPespective
 * 
 * @author Grupo e-Gen
 * @version 1.0 (07/07/2012)
 * @since 1.0 (14/07/2012)
 */
public class ManagerProjectsPespective implements IPerspectiveFactory {

	@Override
	public void createInitialLayout(IPageLayout layout) {

		String editorArea = layout.getEditorArea();

		IFolderLayout createFolder = layout.createFolder("left", //$NON-NLS-1$
				IPageLayout.LEFT, 0.25f, editorArea);
		createFolder.addView(UseCaseView.USECASEVIEW_ID);
	}

}
